package com.foreknow.demo17;

/**
 * 学生类
 */
public class Student {
    private String id;
    private String name;
    private int age;
    private String school;//学校
    private String number;//电话号码



    public Student(Student student){
        this.id = id;
        this.name = name;
        this.age = age;
        this.school = school;
        this.number = number;
    }

    public Student(){

    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }
}
